package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysProjectFundingSource;

/**
 * 资金来源Mapper接口
 * 
 * @author ruoyi
 * @date 2024-08-03
 */
public interface SysProjectFundingSourceMapper 
{
    /**
     * 查询资金来源
     * 
     * @param id 资金来源主键
     * @return 资金来源
     */
    public SysProjectFundingSource selectSysProjectFundingSourceById(Long id);

    /**
     * 查询资金来源
     *
     * @param name 资金来源text
     * @return 资金来源
     */
    public SysProjectFundingSource selectSysProjectFundingSourceByName(String name);

    /**
     * 查询资金来源列表
     * 
     * @param sysProjectFundingSource 资金来源
     * @return 资金来源集合
     */
    public List<SysProjectFundingSource> selectSysProjectFundingSourceList(SysProjectFundingSource sysProjectFundingSource);

    /**
     * 新增资金来源
     * 
     * @param sysProjectFundingSource 资金来源
     * @return 结果
     */
    public int insertSysProjectFundingSource(SysProjectFundingSource sysProjectFundingSource);

    /**
     * 修改资金来源
     * 
     * @param sysProjectFundingSource 资金来源
     * @return 结果
     */
    public int updateSysProjectFundingSource(SysProjectFundingSource sysProjectFundingSource);

    /**
     * 删除资金来源
     * 
     * @param id 资金来源主键
     * @return 结果
     */
    public int deleteSysProjectFundingSourceById(Long id);

    /**
     * 批量删除资金来源
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysProjectFundingSourceByIds(Long[] ids);
}
